/* NFC标签绑定页面样式 */
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8f8f8;
  padding: 20rpx;
}

.header {
  text-align: center;
  padding: 30rpx 0;
  margin-bottom: 20rpx;
}

.title {
  font-size: 40rpx;
  font-weight: bold;
  color: #333;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nfc-status {
  width: 100%;
  background-color: #fff2f0;
  border: 1rpx solid #ffccc7;
  border-radius: 10rpx;
  padding: 20rpx;
  margin-bottom: 40rpx;
}

.status-text {
  font-size: 28rpx;
  text-align: center;
  display: block;
}

.error {
  color: #f5222d;
}

.scan-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 20rpx;
  padding: 60rpx 40rpx;
  margin-bottom: 40rpx;
  width: 100%;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
}

.scan-icon {
  width: 240rpx;
  height: 240rpx;
  margin-bottom: 30rpx;
  position: relative;
}

.scan-icon image {
  width: 100%;
  height: 100%;
}

.scan-icon.scanning::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 4rpx solid rgba(0, 120, 255, 0.3);
  border-radius: 50%;
  animation: scan 2s infinite;
}

@keyframes scan {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.scan-text {
  font-size: 32rpx;
  color: #666;
  margin-bottom: 30rpx;
}

.scan-result {
  width: 100%;
  background-color: #f0f9ff;
  border-radius: 10rpx;
  padding: 20rpx;
  margin-top: 20rpx;
}

.result-label {
  font-size: 28rpx;
  color: #666;
  display: block;
  margin-bottom: 10rpx;
}

.result-value {
  font-size: 28rpx;
  color: #1890ff;
  word-break: break-all;
  display: block;
}

.input-area {
  width: 100%;
  background-color: #fff;
  border-radius: 20rpx;
  padding: 40rpx;
  margin-bottom: 40rpx;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
}

.input-item {
  margin-bottom: 20rpx;
}

.input-label {
  display: block;
  font-size: 32rpx;
  color: #333;
  margin-bottom: 20rpx;
}

.input-field {
  width: 100%;
  height: 80rpx;
  border: 2rpx solid #d9d9d9;
  border-radius: 10rpx;
  padding: 0 20rpx;
  font-size: 32rpx;
  box-sizing: border-box;
}

.error-msg {
  color: #f5222d;
  font-size: 28rpx;
  margin-bottom: 30rpx;
}

.button-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30rpx;
  margin-bottom: 40rpx;
}

.primary-btn,
.cancel-btn {
  height: 90rpx;
  font-size: 32rpx;
  line-height: 90rpx;
  border-radius: 45rpx;
}

.tips {
  background-color: #fff;
  border-radius: 20rpx;
  padding: 30rpx;
  width: 100%;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
}

.tips-title {
  display: block;
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 20rpx;
}

.tips-content {
  display: block;
  font-size: 28rpx;
  color: #666;
  margin-bottom: 15rpx;
}